<template>
	<view class="allPrice">
		<text class="all">{{name}}:&nbsp;</text>
		<text class="dw">￥</text>
		<text class="price">{{price}}</text>
	</view>
</template>

<script>
	export default {
		name:"all-price",
		props:{
			price:{
				type:String,
				default:''
			},
			name:{
				type:String,
				default:'合计'
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
	.allPrice{
	  margin: 0 auto;
	  text-align: right;
	  .all{
		  font-weight: 800;
		  font-size: 30rpx;
		  color: #2A2B2B;
	  }
	  .dw{
		  font-size: 24rpx;
		  color: #F96501;
	  }
	  .price{
		  font-size: 40rpx;
		  color: #F96501;
	  }
	}
</style>